package com.hyy.dao;

import com.hyy.bean.Cart;
import com.hyy.bean.MaskUser;

import java.sql.SQLException;
import java.util.List;

public interface CartDao {
	boolean insert(Cart cart) throws SQLException;
	boolean deleteMyCart(Long uid,Long mid) throws SQLException;
	boolean updateNum(Cart cart) throws SQLException;
	boolean isExist(long uid,long mid) throws SQLException;
	boolean addNum(long uid,long mid,long num) throws SQLException;
	List<Cart> showAllByUid(long uid) throws SQLException;
}
